package com.bwie.common.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 轮播图表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_banner")
@ApiModel(value="TBanner对象", description="轮播图表")
public class Banner implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "轮播图id")
    @TableId(value = "banner_id", type = IdType.AUTO)
    private Long bannerId;

    @ApiModelProperty(value = "图片路径")
    private String bannerImageUrl;

    @ApiModelProperty(value = "跳转路径")
    private String bannerLinkUrl;

    @ApiModelProperty(value = "排序")
    private Integer sort;


}
